package com.gopay.common.riskcontrol.vo;

import com.gopay.common.constants.riskcontrol.RcLimitCheck;
import com.gopay.common.constants.riskcontrol.RcLimitCheckStep;
import com.gopay.common.domain.BaseEntity;

/**
 * Created by liuyong on 2017/6/21.
 * 额度校验入参
 */
public class LimitCheckRequest extends BaseEntity {

    private String gopayOrderId;      //必选参数，主订单号

    private RcLimitCheck rcLimitCheck;      //必选参数，是否校验标志

    private RcLimitCheckStep rcLimitCheckStep;  //必选参数，校验步骤，事前，事中。

    private boolean isRclBatch;          //可选参数，批量付款到银行和批量付款到国付宝使用

    private String source;  //参考GatewaySource值，为了网关批量付款到银行出来

    private LimitCheckRequest(){

    }


    public LimitCheckRequest(String gopayOrderId, RcLimitCheck check, RcLimitCheckStep limitCheckStep) {
        this.gopayOrderId = gopayOrderId;
        this.rcLimitCheck = check;
        this.rcLimitCheckStep = limitCheckStep;
    }


    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public RcLimitCheck getRcLimitCheck() {
        return rcLimitCheck;
    }

    public void setRcLimitCheck(RcLimitCheck rcLimitCheck) {
        this.rcLimitCheck = rcLimitCheck;
    }

    public RcLimitCheckStep getRcLimitCheckStep() {
        return rcLimitCheckStep;
    }

    public void setRcLimitCheckStep(RcLimitCheckStep rcLimitCheckStep) {
        this.rcLimitCheckStep = rcLimitCheckStep;
    }

    public boolean isRclBatch() {
        return isRclBatch;
    }

    public void setRclBatch(boolean rclBatch) {
        isRclBatch = rclBatch;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
